package com.example.demo.utils;

import com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser;
import com.example.demo.config.ActivitiConfig;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;

import java.util.Map;

public class FanXingTest {
    public static <T> T request2Bean(String request,Class<T> clazz) {
        System.out.println("进来了方法");
        
        return (T) clazz;
    }

    public static void main(String[] args) throws JsonProcessingException {
//        ActivitiConfig fw = FanXingTest.request2Bean("fw", ActivitiConfig.class);
//        FanXingTest2<String> test = new FanXingTest2<String>("");
    }
}
